Data - Get reservation details
GET/v1/reservations/:id
Get the reservation details for a given reservation id.
Request
Path Parameters
restaurant uuid that needs to be considered for filter
Responses
- 200
- 401
- 404
Successful
- */*
- Schema
- Example (from schema)
Schema
- Reservation status
- Main statuses
- - RECORDED: most frequent status, reservation is confirmed
- - CANCELED: reservation has been canceled
- - NO_SHOW: reservation has been flagged as no-show
- Secondary statuses
- - REQUESTED: Reservation is waiting for a an action from the restaurant (on request booking or Waitlist) - not confirmed yet
- - REFUSED: final state if a requested reservation has been declined by the restaurant
- - REJECTED: general error on the reservation (should be rare)
Array [
]
Array [
]
reservation uuid
restaurant uuid
Reservation meal date
Number of person attending to the reservation
Possible values: [RECORDED
, CONFIRMED
, CANCELED
, NO_SHOW
, REQUESTED
, REFUSED
]
Possible values: <= 1000 characters
Special request field that the diner can enter while making the reservation
Customer UUID
customFields
object[]
Label UUID
Label value
Possible values: [boolean
, string
, integer
]
Value UUID
offerDetails
object
Possible values: [promotion
, presetMenu
]
Possible values: [generic
, of_the_day
, brunch
, group
, experience
]
utmTrackingInformation
object[]
billAmount
object
Possible values: [TripAdvisor
, Michelin
, Booking Module
, Offline
, TheFork
, Walk-in
, Google
, Cross Sell
]
{
"reservationUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"restaurantUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"mealDate": "2022-01-03T18:10:17.269Z",
"partySize": 2,
"status": "RECORDED",
"offerUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customerNote": "note by the customer",
"customerUuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customFields": [
{
"labelUuid": "55749b38-b822-4ece-b976-65a1458c6d47",
"label": "Regular lunch customer",
"type": "boolean",
"value": "string",
"valueUuid": "ada0f099-4e3d-47da-addd-1d449082fc34"
}
],
"offerDetails": {
"offerType": "promotion",
"name": {},
"discountPercentage": 0,
"presetMenuType": "generic",
"price": 0,
"currency": "string"
},
"utmTrackingInformation": [
{
"key": "string",
"value": "string"
}
],
"billAmount": {
"totalPrice": 0,
"currency": "string"
},
"reservationChannel": "TripAdvisor",
"createdAt": "string",
"updatedAt": "string"
}
Unauthorized
- */*
- Schema
- Example (from schema)
Schema
Possible values: [Unauthorized
]
Possible values: [401
]
{
"data": {},
"error": "Unauthorized",
"statusCode": 401
}
Not Found
- */*
- Schema
- Example (from schema)
Schema
data
object
Possible values: [RESERVATION_NOT_FOUND
]
Possible values: [Not Found
]
Possible values: [404
]
{
"data": {
"code": "RESERVATION_NOT_FOUND"
},
"error": "Not Found",
"statusCode": 404
}